<html>
    <head>
        <meta charset="UTF-8">
        <title>页面名</title>
        <link rel="stylesheet" href="css/reset.css" />
        <link rel="stylesheet" href="css/position.css" />

        node.js环境安装包
        grunt.js插件

        <style>
            body{
                background: #ccc;
                color: #fff;

                /*默认属性*/
                padding: 0; /*边距置0*/
                margin: 0;
            }

            .div1{
                width: 300px;
                height: 300px;
                background: black;
                margin: 50px;   /*外边距*/
                padding: 50px;  /*内边距*/
                border: 50px solid;   /*边框宽度,solid实线*/
                display: inline-block   /*行块属性*/
            }

            .myspan{
                margin: 100px;
                padding: 100px;
            }

            span{
                display: inline-block;
            }

            .myposition{
                width: 100%;
                height: 50px;
                background: #f10180;
                position: fixed;
                top: 0;
                left: 0;

                bottom: 0;
                right:0;
                z-index: 100;
            }

            .container{
                height: 300px;
            }

            .pa{
                position: absolute;
                bottom: 0;
                left: 0 ;
                width: 100%;
                height: ;
                line-height: ;
                background:　rgba(0, 0, 0, 0 , 9);

            }
        </style>
    </head>
    <body>
        <!--css 盒模型-->
        <div class="div1">
            css 盒模型
        </div>
        <div class="div1">
            css 盒模型
        </div>
        <span class="myspan">内容</span>
        <!--position 定位-->
        <div class="myposition">
            fixed:基于浏览窗口
        </div>
        <div class="pa">
            内容
        </div>
        <div class="item">
            absolute:
            内容
        </div>
    </body>
</html>
